<?php
/**
 * Created by PhpStorm.
 * User: idcu
 * Date: 2016/3/9
 * Time: 20:10
 */
namespace Service\Controller;
use Admin\Controller\AdminController;

class DeptController extends AdminController
{
    public function getDept(){
        $this->ajaxReturn(D('Dept')->getDept());
//        $this->ajaxReturn(M('OaDept')->field('DEPT_ID,DEPT_NAME,DEPT_PARENT,DEPT_NO')->select());
    }
}